package boss.service.pay.PayOtherLatn;

public class PayOtherLatnProxy implements boss.service.pay.PayOtherLatn.PayOtherLatn_PortType {
  private String _endpoint = null;
  private boss.service.pay.PayOtherLatn.PayOtherLatn_PortType payOtherLatn_PortType = null;
  
  public PayOtherLatnProxy() {
    _initPayOtherLatnProxy();
  }
  
  public PayOtherLatnProxy(String endpoint) {
    _endpoint = endpoint;
    _initPayOtherLatnProxy();
  }
  
  private void _initPayOtherLatnProxy() {
    try {
      payOtherLatn_PortType = (new boss.service.pay.PayOtherLatn.PayOtherLatn_ServiceLocator()).getPayOtherLatnSOAP();
      if (payOtherLatn_PortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)payOtherLatn_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)payOtherLatn_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (payOtherLatn_PortType != null)
      ((javax.xml.rpc.Stub)payOtherLatn_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public boss.service.pay.PayOtherLatn.PayOtherLatn_PortType getPayOtherLatn_PortType() {
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType;
  }
  
  public boss.service.pay.client.QueryOtherLatnOweResponse queryOtherLatnOwe(boss.service.pay.client.QueryOtherLatnOweRequest queryOtherLatnOweRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.queryOtherLatnOwe(queryOtherLatnOweRequest);
  }
  
  public boss.service.pay.client.PayOtherLatnOweResponse payOtherLatnOwe(boss.service.pay.client.PayOtherLatnOweRequest payOtherLatnOweRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.payOtherLatnOwe(payOtherLatnOweRequest);
  }
  
  public boss.service.pay.client.PayOtherLatnOperResponse payOtherLatnOper(boss.service.pay.client.PayOtherLatnOperRequest payOtherLatnOperRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.payOtherLatnOper(payOtherLatnOperRequest);
  }
  
  public boss.service.pay.client.QueryOtherLatnOperResponse queryOtherLatnOper(boss.service.pay.client.QueryOtherLatnOperRequest queryOtherLatnOperRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.queryOtherLatnOper(queryOtherLatnOperRequest);
  }
  
  public boss.service.pay.client.CancelOtherLatnOweResponse cancelOtherLatnOwe(boss.service.pay.client.CancelOtherLatnOweRequest cancelOtherLatnOweRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.cancelOtherLatnOwe(cancelOtherLatnOweRequest);
  }
  
  public boss.service.pay.client.CancelOtherLatnOperResponse cancelOtherLatnOper(boss.service.pay.client.CancelOtherLatnOperRequest cancelOtherLatnOperRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.cancelOtherLatnOper(cancelOtherLatnOperRequest);
  }
  
  public boss.service.pay.client.QueryBlackOweResponse queryBlackOwe(boss.service.pay.client.QueryBlackOweRequest queryBlackOweRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.queryBlackOwe(queryBlackOweRequest);
  }
  
  public boss.service.pay.client.PayBlackOweResponse payBlackOwe(boss.service.pay.client.PayBlackOweRequest payBlackOweRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.payBlackOwe(payBlackOweRequest);
  }
  
  public boss.service.pay.client.PayBlackOperResponse payBlackOper(boss.service.pay.client.PayBlackOperRequest payBlackOperRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.payBlackOper(payBlackOperRequest);
  }
  
  public boss.service.pay.PayOtherLatn.GetStaffIDResponse getStaffID(boss.service.pay.PayOtherLatn.GetStaffIDRequest getStaffIDRequest) throws java.rmi.RemoteException{
    if (payOtherLatn_PortType == null)
      _initPayOtherLatnProxy();
    return payOtherLatn_PortType.getStaffID(getStaffIDRequest);
  }
  
  
}